import axios from "axios";
//轮播图
export function banner_list(payload={}){
    return axios.get('/api/banner/list',payload)
}
//店铺列表
export function shop_list(payload={}){
    return axios.get('/api/shop/list',payload)
}
//爆爆团列表
export function tuan_list(payload= {}){
    return axios.get('/api/tuan/list',payload)
}
//店铺详情列表
export function shop_shopinfo(payload= {}){
    return axios.get('/api/shop/shopinfo',payload)
}
//店铺收藏
export function shop_fav(payload= {}){
    return axios.get('/api/shop/fav',payload)
}
//店铺取消收藏
export function shop_unfav(payload= {}){
    return axios.get('/api/shop/unfav',payload)
}
//购物车加
export function shopcart_add(payload= {}){
    return axios.post('/api/shopcart/add',payload)
}
//购物车清空
export function shopcart_clear(payload= {}){
    return axios.post('/api/shopcart/clear',payload)
}
//购物车列表
export function shopcart_list(payload= {}){
    return axios.get('/api/shopcart/list',payload)
}
//购物车减
export function shopcart_sub(payload= {}){
    return axios.get('/api/shopcart/sub',payload)
}